//
//  MarketHeaderViewCell.m
//  Mtime2.0
//
//  Created by 凉气的Mac on 16/9/18.
//  Copyright © 2016年 凉气的Mac. All rights reserved.
//

#import "MarketHeaderViewCell.h"

@interface MarketHeaderViewCell ()

@property(nonatomic,weak) UIImageView *picture;

@end

@implementation MarketHeaderViewCell


-(instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
        //设置界面
        [self setupUI];
        
    }
    return self;
}

#pragma mark --
#pragma mark --设置界面
-(void)setupUI{
    
    UIImageView *picture = [[UIImageView alloc]init];
    
    self.picture = picture;
    
    self.contentView.backgroundColor = [UIColor redColor];
    
    [self.contentView addSubview:picture];
    
    [picture mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.edges.equalTo(self.contentView);
        
    }];
    
}



@end
